package com.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created with IntelliJ IDEA.
 * Description: 手机验证码登录
 * User: Spider-Man
 * Date: 2025-09-10
 * Time: 14:29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ShortMessageLoginParam extends UserLoginParam{
    /**
     * 电话
     */
    @NotBlank(message = "手机号不能为空!")
    private String loginMobile;
    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空!")
    private String verificationCode;
}
